<script setup lang="ts">
import { NIcon } from "naive-ui";
import NoFocusButton from "./NoFocusButton.vue";

import { defineProps, VNode } from "vue";

interface IProps {
  icon: VNode;
}

const props = defineProps<IProps>();
</script>

<template>
  <NoFocusButton>
    <NIcon>
      <props.icon></props.icon>
    </NIcon>
  </NoFocusButton>
</template>

<style scoped></style>
